home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / text1 / cms_help_files / db.helpmark < prev    next >
Text File  |  1991-10-23  |  2KB  |  46 lines

  1. +-----------------------------------------------------------------------------+
  2. |                                   drawbox                                   |
  3. +-----------------------------------------------------------------------------+
  4.  
  5. Abbreviation:  π|\dbπ%
  6.  
  7. Parameters:    π|textπ%
  8.  
  9.     π|Description:π%
  10. A box is a grouping of rules into a square or rectangle.  You can draw a box
  11. with the \drawbox markup.   The parameter for this markup is the material to
  12. be put  inside the box.   Any grouping  less than a paragraph  can be boxed,
  13. including letters, sentences, figures, or tables.
  14.  
  15.     π|Example:π%
  16. To draw a box around an "a", you would enter:
  17.  
  18. Draw a box around \drawbox{a}
  19. +-----------------------------------------------------------------------------+
  20. |                                                                             |
  21. |                       .....                                                 |
  22. |     Draw a box around .   .                                                 |
  23. |                       .....                                                 |
  24. |                                                                             |
  25. +-----------------------------------------------------------------------------+
  26.  
  27.     π|Example:π%
  28. If you  want to draw an  empty 1 inch  square (plus the box  "rule size" and
  29. "mat size") you could enter,
  30.  
  31. \db{\vrule width 0pt height 1in
  32. \vrule width 1in height 0pt depth 0pt}
  33.                ..............
  34.                .            .
  35.                .            .
  36.                .            .
  37.                .            .
  38.                .            .
  39.                .            .
  40. which prints:  ..............
  41.  
  42.     π|Notes:π%
  43. Do not use this markup with \monospace or around \settabs or \halign.
  44.     Paragraphs cannot  be boxed with  \drawbox unless each  one is  put in a
  45. vertical box (see \vbox).  Use the \paragraphbox markup instead.
  46.